<?php if($this->pageCount){
	if(isset($this->previous))
	{
		echo '<div class="page"><a href="'.$this->url(array('page'=>$this->previous)) .'">Trước</a></div>';
	}
	foreach ($this->pagesInRange as $page){
		if($page!=$this->current){
			echo '<div class="page"><a href="'.$this->url(array('page'=>$page)).'">'.$page.'</a></div>';
		}
		else
			echo '<div class="current">' .$page. '</div>';
	}
	if(isset($this->next)){
		echo '<div class="page"><a href="'.$this->url(array('page'=>$this->next)).'">Sau</a></div>';
	}

}?>